import React from 'react';
import ReactDOM from 'react-dom/client';
import { createStore } from 'redux'
import { Provider } from 'react-redux'
import commentsReducer from './reducers/comments'
import './index.css';
import CommentApp from './containers/CommentApp';

const store=createStore(commentsReducer)

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <Provider store={store}>
    <CommentApp></CommentApp>
  </Provider>
);
